﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ProyectoGeneral.aspx.cs" Inherits="Ubatic.UI.App.ProyectoGeneral" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2 onclick="window.AppCommonObj.toggleVisibility('imgExpand', 'searchBox');">
        <img width="15px" height="15px" id="imgExpand" class="imgExpand" src="/Images/icon_blockexpanded.png"
            alt="" />
        Datos del Proyecto<span class="clear"></span>
    </h2>
    <div class="editionContainerFilter" id="searchBox">
        <div class="clear">
        </div>
        <p>
            <span class="title2">Titulo del Proyecto (hasta 500 caracteres):</span>
            <asp:TextBox ID="txtTitulo" runat="server" CssClass="inputs"></asp:TextBox>
            <img title="Descripcion" alt="" class="helpImage" src="../Images/help.png" />
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">Palabras Clave:</span>
            <asp:TextBox ID="txtPalabraClaveAgregar" runat="server" CssClass="inputs"></asp:TextBox>
            <asp:Button ID="btnPalabraClaveAgregar" runat="server" Text="Agregar" Width="70px"
                CssClass="inputs" OnClick="btnPalabraClaveAgregar_Click"></asp:Button>
        </p>
        <div class="clear">
        </div>
        <p>
            <asp:GridView ID="GridPalabrasClave" runat="server" CellPadding="4" ForeColor="#333333"
                GridLines="None" AutoGenerateColumns="False" DataKeyNames="Id" Width="300" AllowPaging="True"
                PageSize="5" OnRowCommand="GridPalabrasClave_RowCommand">
                <AlternatingRowStyle BackColor="White" />
                <Columns>
                    <asp:BoundField DataField="PalabraClave" HeaderText="Palabra Clave" HeaderStyle-HorizontalAlign="Left"
                        ItemStyle-HorizontalAlign="Left" />
                    <asp:TemplateField HeaderText="Eliminar">
                        <HeaderStyle HorizontalAlign="Left" Width="40px" />
                        <ItemStyle HorizontalAlign="Center" />
                        <ItemTemplate>
                            <asp:Button ID="btnEliminar" runat="server" Text="Eliminar" CommandName="eliminar"
                                CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <EditRowStyle BackColor="#2461BF" />
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#4b6c9e" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
                <PagerStyle BackColor="#4b6c9e" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#EFF3FB" />
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                <SortedAscendingCellStyle BackColor="#F5F7FB" />
                <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                <SortedDescendingCellStyle BackColor="#E9EBEF" />
                <SortedDescendingHeaderStyle BackColor="#4870BE" />
                <EmptyDataTemplate>
                    <p>
                        No existen palabras claves</p>
                </EmptyDataTemplate>
            </asp:GridView>
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">Resumen del Proyecto:</span>
            <asp:TextBox ID="txtResumen" TextMode="MultiLine" Width="500px" Height="100px" runat="server"
                CssClass="inputs"></asp:TextBox>
            <img title="Descripcion" class="helpImage" alt="" src="../Images/help.png" />
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">L&iacute;nea de Trabajo:</span>
            <asp:DropDownList ID="ddlLineaTrabajoId" runat="server" CssClass="cbo">
            </asp:DropDownList>
            <img title="Descripcion" class="helpImage" alt="" src="../Images/help.png" />
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">Unidad Acad&eacute;mica</span>
            <asp:DropDownList ID="ddlDependenciaId" runat="server" CssClass="cbo">
            </asp:DropDownList>
            <img title="Descripcion" class="helpImage" alt="" src="../Images/help.png" />
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">Areas de Conocimiento:</span>
            <asp:TextBox ID="txtAreasDeConocimientoAgregar" runat="server" CssClass="inputs"></asp:TextBox>
            <asp:Button ID="btnAreasDeConocimientoAgregar" runat="server" Text="Agregar" Width="70px"
                CssClass="inputs" OnClick="btnAreasDeConocimientoAgregar_Click"></asp:Button>
        </p>
        <div class="clear">
        </div>
        <p>
            <asp:GridView ID="GridAreaConocimiento" runat="server" CellPadding="4" ForeColor="#333333"
                GridLines="None" AutoGenerateColumns="False" DataKeyNames="Id" Width="300" AllowPaging="True"
                PageSize="5" OnRowCommand="GridAreaConocimiento_RowCommand">
                <AlternatingRowStyle BackColor="White" />
                <Columns>
                    <asp:BoundField DataField="AreaDeConocimiento" HeaderText="Area de Conocimiento"
                        HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left" />
                    <asp:TemplateField HeaderText="Eliminar">
                        <HeaderStyle HorizontalAlign="Left" Width="40px" />
                        <ItemStyle HorizontalAlign="Center" />
                        <ItemTemplate>
                            <asp:Button ID="btnEliminar" runat="server" Text="Eliminar" CommandName="eliminar"
                                CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <EditRowStyle BackColor="#2461BF" />
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#4b6c9e" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
                <PagerStyle BackColor="#4b6c9e" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#EFF3FB" />
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                <SortedAscendingCellStyle BackColor="#F5F7FB" />
                <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                <SortedDescendingCellStyle BackColor="#E9EBEF" />
                <SortedDescendingHeaderStyle BackColor="#4870BE" />
                <EmptyDataTemplate>
                    <p>
                        No existen areas de conocimiento</p>
                </EmptyDataTemplate>
            </asp:GridView>
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">Asignaturas:</span>
            <asp:TextBox ID="txtAsignaturaAgregar" runat="server" CssClass="inputs"></asp:TextBox>
            <asp:Button ID="btnAsignaturaAgregar" runat="server" Text="Agregar" Width="70px"
                CssClass="inputs" OnClick="btnAsignaturaAgregar_Click"></asp:Button>
        </p>
        <div class="clear">
        </div>
        <p>
            <asp:GridView ID="GridAsignaturas" runat="server" CellPadding="4" ForeColor="#333333"
                GridLines="None" AutoGenerateColumns="False" DataKeyNames="Id" Width="300" AllowPaging="True"
                PageSize="5" OnRowCommand="GridAsignaturas_RowCommand">
                <AlternatingRowStyle BackColor="White" />
                <Columns>
                    <asp:BoundField DataField="Asignatura" HeaderText="Asignatura" HeaderStyle-HorizontalAlign="Left"
                        ItemStyle-HorizontalAlign="Left" />
                    <asp:TemplateField HeaderText="Eliminar">
                        <HeaderStyle HorizontalAlign="Left" Width="40px" />
                        <ItemStyle HorizontalAlign="Center" />
                        <ItemTemplate>
                            <asp:Button ID="btnEliminar" runat="server" Text="Eliminar" CommandName="eliminar"
                                CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <EditRowStyle BackColor="#2461BF" />
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#4b6c9e" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
                <PagerStyle BackColor="#4b6c9e" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#EFF3FB" />
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                <SortedAscendingCellStyle BackColor="#F5F7FB" />
                <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                <SortedDescendingCellStyle BackColor="#E9EBEF" />
                <SortedDescendingHeaderStyle BackColor="#4870BE" />
                <EmptyDataTemplate>
                    <p>
                        No existen asignaturas</p>
                </EmptyDataTemplate>
            </asp:GridView>
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">Matricula Promedio:</span>
            <asp:TextBox ID="txtMatricula" runat="server" CssClass="inputs"></asp:TextBox>
            <img title="Descripcion" class="helpImage" alt="" src="../Images/help.png" />
        </p>
        <div class="clear">
        </div>
        <div>
            <p>
                <asp:Button ID="btnVolver" runat="server" Text="Volver" ClientIDMode="Static" CausesValidation="false"
                    OnClick="btnVolver_Click" />
                <asp:Button ID="btnGuardar" runat="server" Text="Guardar" ClientIDMode="Static" OnClick="btnGuardar_Click" />
                <asp:Button ID="btnGuardaryContinuar" runat="server" Text="Guardar y Continuar" ClientIDMode="Static"
                    OnClick="btnGuardaryContinuar_Click" />
            </p>
        </div>
        <div class="clear">
        </div>
    </div>
</asp:Content>
